﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Psm.Messaging;
using Psm.Util;

namespace Psm.Session
{
    public interface ISession
    {
        IMessage CreateMessage(ByteBuffer payload);
        void SendMessage(IMessage message);
        void Flush(); //only for testing needs to be removed
        IDictionary<string, object> State { get; }
    }
}
